package com.ruoyi.labdata.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 仪器维修对象 lab_repaired_device
 * 
 * @author winner pan
 * @date 2022-03-20
 */
public class LabRepairedDevice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 修理ID */
    private Long instanceId;

    /** 资产编号 */
    private String assetNo;

    /** 仪器名称 */
    private String name;

    /** 原值 */
    private String originalValue;

    /** 仪器型号 */
    private String model;

    /** 仪器规格 */
    private String spec;

    /** 数量 */
    private Long quantity;

    /** 购买日期 */
	@JsonFormat(pattern = "yyyy-MM-dd")
    private Date setUpAccount;

    /** 制造商名称 */
    private String manufacturer;

    /** 放置地点 */
    private String classRoomId;

    /** 项目经费 */
    private String fundItem;

    /** 预算 */
    private String budget;

    /** 维修原因 */
    private String reason;

    public void setInstanceId(Long instanceId) 
    {
        this.instanceId = instanceId;
    }

    public Long getInstanceId() 
    {
        return instanceId;
    }
    public void setAssetNo(String assetNo) 
    {
        this.assetNo = assetNo;
    }

    public String getAssetNo() 
    {
        return assetNo;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setOriginalValue(String originalValue) 
    {
        this.originalValue = originalValue;
    }

    public String getOriginalValue() 
    {
        return originalValue;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setSpec(String spec) 
    {
        this.spec = spec;
    }

    public String getSpec() 
    {
        return spec;
    }
    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }
    public void setSetUpAccount(Date setUpAccount) 
    {
        this.setUpAccount = setUpAccount;
    }

    public Date getSetUpAccount() 
    {
        return setUpAccount;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setClassRoomId(String classRoomId) 
    {
        this.classRoomId = classRoomId;
    }

    public String getClassRoomId() 
    {
        return classRoomId;
    }
    public void setFundItem(String fundItem) 
    {
        this.fundItem = fundItem;
    }

    public String getFundItem() 
    {
        return fundItem;
    }
    public void setBudget(String budget) 
    {
        this.budget = budget;
    }

    public String getBudget() 
    {
        return budget;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("instanceId", getInstanceId())
            .append("assetNo", getAssetNo())
            .append("name", getName())
            .append("originalValue", getOriginalValue())
            .append("model", getModel())
            .append("spec", getSpec())
            .append("quantity", getQuantity())
            .append("setUpAccount", getSetUpAccount())
            .append("manufacturer", getManufacturer())
            .append("classRoomId", getClassRoomId())
            .append("fundItem", getFundItem())
            .append("budget", getBudget())
            .append("reason", getReason())
            .toString();
    }
}
